home *** CD-ROM | disk | FTP | other *** search
/ MykoCD / CD [MykoCD].bin / IrfanView / i_options.txt < prev    next >
Encoding:
Text File  |  2002-03-17  |  4.6 KB  |  118 lines

  1. -------------------------------------------------------------------------------
  2. File  : 'options.txt' - Command line options for IrfanView
  3. Author: Irfan Skiljan
  4. E-Mail: irfan@linux.tuwien.ac.at
  5. WWW   : http://www.irfanview.com
  6. -------------------------------------------------------------------------------
  7.  
  8. List of all command line options supported in IrfanView:
  9. --------------------------------------------------------
  10.  
  11.   /one               - force "only one instance"
  12.   /fs                - force Full Screen
  13.   /bf                - force Best Fit to desktop
  14.   /title=text        - set window title to "text"
  15.   /pos=(x,y)         - move IrfanView window to x,y
  16.   /convert=filename  - convert input file to "filename" and CLOSE IrfanView
  17.   /slideshow=txtfile - play slideshow with the files from "txtfile"
  18.   /thumbs            - force thumbnails
  19.   /killmesoftly      - close all IrfanView instances
  20.   /closeslideshow    - close slideshow and IrfanView after the last image
  21.   /page=X            - open page number X from a multipage input image
  22.   /crop=(x,y,w,h)    - crop input image: x-start, y-start, width, height
  23.   /print             - print (all pages) to default printer and CLOSE IrfanView
  24.   /resize=(w,h)      - resize input image to w (width) and h (height)
  25.   /resample=(w,h)    - resample input image to w (width) and h (height)
  26.   /capture           - capture the whole screen and show image in IrfanView
  27.   /ini               - use the Windows folder for INI/LST files (read/save)
  28.   /clippaste         - paste image from the clipboard
  29.   /clipcopy          - copy image to the clipboard
  30.   /slient            - don't show error messages for command line read/save errors
  31.   /invert            - invert the input image
  32.   /scan              - acquire the image from the TWAIN device
  33.  
  34. Notes:
  35. - Only lower case options are supported !
  36. - Input file name (if required) is always the first paramater!
  37. - Wildcards supported only for /convert and /print
  38.  
  39.  
  40. Example for conversion: 
  41.   i_view32.exe c:\test.bmp /convert=c:\giftest.gif
  42.   => Convert file: 'c:\test.bmp' to 'c:\giftest.gif' without GUI ;-)
  43.   i_view32.exe c:\*.jpg /convert=d:\temp\*.gif
  44.   i_view32.exe c:\*.jpg /resample=(500,300) /convert=d:\temp\*.png
  45.   i_view32.exe c:\*.jpg /print
  46.   (Note: supported are all IrfanView read/save formats except audio/video)
  47.  
  48. Example for slideshow: 
  49.   i_view32.exe /slideshow=c:\mypics.txt
  50.   (Note: The file 'c:\mypics.txt' contains, in each line, a name of the image,
  51.          including the full path OR path relative to "i_view32.exe". 
  52.          A hard return is needed at the end of each line)
  53.  
  54. Example for closeslideshow: 
  55.   i_view32.exe /slideshow=c:\mypics.txt /closeslideshow
  56.   => IrfanView will be closed after the last image from 'c:\mypics.txt'
  57.  
  58. Example for thumbnails: 
  59.   i_view32.exe c:\test\image1.jpg /thumbs
  60.   => open 'image1.jpg' and display thumbnails from directory 'c:\test'
  61.   or
  62.   i_view32.exe c:\test /thumbs
  63.   => display thumbnails from directory 'c:\test'
  64.  
  65. Example for close: 
  66.   i_view32.exe /killmesoftly
  67.   => close IrfanView and terminate all instances
  68.  
  69. Example for page:
  70.   i_view32.exe c:\test.tif /page=3
  71.   => Open page number 3 from the multipage image 'c:\test.tif'
  72.  
  73. Example for crop:
  74.   i_view32.exe c:\test.jpg /crop=(10,10,300,300)
  75.   => Open 'c:\test.jpg' and crop: x-start=10, y-start=10, width=300, height=300
  76.  
  77. Example for print:
  78.   i_view32.exe c:\test.jpg /print
  79.   => Open 'c:\test.jpg', print the image to default printer and close IrfanView
  80.  
  81. Example for resize:
  82.   i_view32.exe c:\test.jpg /resize=(300,300)
  83.   => Open 'c:\test.jpg' and resize: width=300, height=300
  84.   i_view32.exe c:\test.jpg /resize=(300,0)
  85.   => Open 'c:\test.jpg' and resize: width=300, height=proportional
  86.   i_view32 c:\test.jpg /resize=(150p,150p)
  87.   => Open 'c:\test.jpg' and resize: width=150%, height=150%
  88.  
  89. Example for resample:
  90.   i_view32.exe c:\test.jpg /resample=(300,300)
  91.   => Open 'c:\test.jpg' and resample: width=300, height=300
  92.   i_view32.exe c:\test.jpg /resample=(0,300)
  93.   => Open 'c:\test.jpg' and resample: width=proportional, height=300
  94.   i_view32 c:\test.jpg /resample=(50p,70p)
  95.   => Open 'c:\test.jpg' and resample: width=50%, height=70%
  96.  
  97. Example for capture:
  98.   i_view32.exe /capture
  99.  
  100. Example for ini:
  101.   i_view32.exe /ini
  102.   i_view32.exe c:\test.jpg /ini
  103.  
  104. Example for clipboard paste:
  105.   i_view32.exe /clippaste
  106.   i_view32.exe /clippaste /convert=c:\test.gif
  107.  
  108. Example for clipboard copy:
  109.   i_view32.exe c:\test.jpg /clipcopy
  110.   i_view32.exe c:\test.jpg /clipcopy /killmesoftly
  111.  
  112. Example for /invert:
  113.   i_view32.exe c:\test.jpg /invert
  114.  
  115. Example for /scan:
  116.   i_view32.exe /scan
  117.   i_view32.exe /scan /convert=c:\test.gif
  118.